package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Mapper
@Component
public interface OverflowListDao {
    //添加报溢单
    void save(OverflowList overflowList);

    // 查询报溢单
    List<OverflowList> list(Date start, Date end);

    //获取报溢单id
    Integer getByNum(String overflowNumber);
}
